package com.calvin.study.observer.observer.impl;

import org.springframework.stereotype.Component;

import com.calvin.study.observer.observer.IObserver;
import com.google.common.eventbus.Subscribe;
@Component
public class ConcreteObserverThree implements IObserver {

	@Override
	@Subscribe	
	public void update(String message) {
		System.out.println(message+"老马收到消息，警察局摇人");
	}

}
